package com.topsec.erp.repository;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;


/**
 * Base repository for the entity User and its subclasses, extending the
 * CrudRepository interface provided by spring data jpa.
 * The following methods are some of the ones available from CrudRepository:
 * save, delete, deleteAll, findOne and findAll.
 * <p>
 * All methods in this repository will be available in the UserRepository,
 * in the PersonRepository and in the CompanyRepository.
 *
 * @author netgloo
 */
@NoRepositoryBean
public interface BaseRepository<T> extends JpaSpecificationExecutor<T>, JpaRepository<T, Long> {


}